package chapter67;

/*
 * 教员类
 */
public class Teacher {
	String teacherName; // 姓名
	String professionalDirection; // 专业方向
	String professorCourse; // 教授课程
	int teacherAge; // 教龄

	// 介绍老师信息
	public void showInformation() {
		System.out.println("教员姓名：" + teacherName);
		System.out.println("专业方向：" + professionalDirection);
		System.out.println("教授课程：" + professorCourse);
		System.out.println("教龄：" + teacherAge);
	}

	public static void main(String[] args) {
		Teacher firstTeacher = new Teacher();
		firstTeacher.teacherName = "王老师";
		firstTeacher.professionalDirection = "计算机";
		firstTeacher.professorCourse = "使用java语言理解程序逻辑";
		firstTeacher.teacherAge = 12;
		firstTeacher.showInformation();

	}

}
